#include "Display.h"

Display::Display() {
    size = 11.6;
    model = "super";
}

void Display::print() const {
    cout << "液晶显示屏尺寸: " << size << " 英寸" << endl;
    cout << "型号: " << model << endl;
}

void Display::save(ofstream& outFile) const {
    outFile << size << endl;
    outFile << model << endl;
}
